Macros§
- Helper macro to generate tuple pyramids. Useful to generate scaffolding to work around Rust lacking variadics. Invoking
all_tuples!(impl_foo, start, end, P, Q, ..)
invokesimpl_foo
providing ident tuples through aritystart..=end
. If you require the length of the tuple, seeall_tuples_with_size!
. - Helper macro to generate tuple pyramids with their length. Useful to generate scaffolding to work around Rust lacking variadics. Invoking
all_tuples_with_size!(impl_foo, start, end, P, Q, ..)
invokesimpl_foo
providing ident tuples through aritystart..=end
preceded by their length. If you don’t require the length of the tuple, seeall_tuples!
.